<?php   
class ControllerErrorBrowserWarning extends Controller {
	public function index() {		
		$this->load->language('error/browserwarning');
		
		$this->document->title = $this->language->get('heading_title');
		
		$this->data['base'] = 'catalog/view/theme/default/image/';
		$this->data['heading_title'] = $this->language->get('heading_title');
		$this->data['text_error1'] = $this->language->get('text_error1');
		$this->data['text_error2'] = $this->language->get('text_error2');
		$this->data['text_error3'] = $this->language->get('text_error3');
		$this->data['text_item1'] = $this->language->get('text_item1');
		$this->data['text_item2'] = $this->language->get('text_item2');
		$this->data['text_item3'] = $this->language->get('text_item3');
		$this->data['text_item4'] = $this->language->get('text_item4');
		
			
		if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/error/browserwarning.tpl')) {
			$this->template = $this->config->get('config_template') . '/template/error/browserwarning.tpl';
		} else {
			$this->template = 'default/template/error/browserwarning.tpl';
		}

		
		$this->response->setOutput($this->render(TRUE), $this->config->get('config_compression'));		
  	}
}
?>